home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 February / Software of the Month Club 1996 February.iso / pc / dos / dtp / show30 / show30.exe / TUTOR.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-01-15  |  9.8 KB  |  267 lines

  1. @echo off
  2. SHOW-PCX BLUE.PCX split
  3.  
  4. gtext "         WHAT IS SHOW MAKER ?" 1 1 14 90
  5. gtext "         ~~~~~~~~~~~~~~~~~~~~" 2 1 14 90
  6. gtext "   Show Maker is a tool that you " 3 1 14 95
  7. gtext "   can use to create professional" 4 1 14 95
  8. gtext "   presentations and tutorials." 5 1 14 95
  9.  
  10. gtext "   You will need to learn the Show " 7 1 14 95
  11. gtext "   Maker commands. These commands " 8 1 14 95
  12. gtext "   are put into a batch (.bat) file" 9 1 14 95
  13. gtext "   with the word processor. You can " 10 1 14 95
  14. gtext "   add your images, speech and music " 11 1 14 95
  15. gtext "   to these batch files. " 12 1 14 95
  16.  
  17. gtext "       Press any key to continue." 24 1 8 100
  18. KEY
  19. SHOW-PCX BLUE.PCX RANDOM FAST
  20.  
  21. gtext "         QUICK & EASY TUTORIAL " 1 1 14 90
  22. gtext "         ~~~~~~~~~~~~~~~~~~~~~ " 2 1 14 90
  23.  
  24. gtext " Let's take a closer look at how to " 5 1 8 95
  25. gtext " combine the Show Maker commands." 6 1 8 95
  26.  
  27. gtext " COMMAND   DESCRIPTION " 8 1 8 95
  28. gtext " ═══════   ═══════════ " 9 1 8 95
  29. gtext " SHOW-PCX  The SHOW-PCX command will" 10 1 8 95
  30. gtext "           display a PCX graphic file" 11 1 8 95
  31. gtext "           up to Super VGA format. " 12 1 8 95
  32.  
  33. gtext " KEY       The KEY command will wait " 14 1 8 95
  34. gtext "           for the user to press a key. " 15 1 8 95
  35.  
  36. gtext "           EXAMPLE " 17 1 8 170
  37. gtext "           ═══════ " 18 1 8 170
  38. gtext "           SHOW-PCX TITLE.PCX " 19 1 8 165
  39. gtext "           KEY " 20 1 8 165
  40.  
  41. gtext " Press any key to view this example." 23 1 8 100
  42.  
  43. key
  44. clear blue.pcx weave
  45. SHOW-PCX TITLE.PCX weave
  46. KEY
  47. clear TITLE.pcx weave
  48. SHOW-PCX blue.PCX spiral r
  49.  
  50. gtext "         QUICK & EASY TUTORIAL " 1 1 14 90
  51. gtext "         ~~~~~~~~~~~~~~~~~~~~~ " 2 1 14 90
  52.  
  53. gtext " Now let's add some SPEECH to this " 5 1 8 95
  54. gtext " example." 6 1 8 95
  55.  
  56. gtext " COMMAND   DESCRIPTION " 8 1 8 95
  57. gtext " ═══════   ═══════════ " 9 1 8 95
  58. gtext " PLAY      The PLAY command will play" 10 1 8 95
  59. gtext "           VOC, WAV, CMF & MID files." 11 1 8 95
  60. gtext "           If no sound board is found, " 12 1 8 95
  61. gtext "           the VOC file will play thru " 13 1 8 95
  62. gtext "           the PC speaker. " 14 1 8 95
  63.  
  64. gtext "           EXAMPLE " 16 1 8 170
  65. gtext "           ═══════ " 17 1 8 170
  66. gtext "           SHOW-PCX TITLE.PCX " 18 1 8 165
  67. gtext "           PLAY WELCOME.VOC" 19 1 8 165
  68. gtext "           KEY " 20 1 8 165
  69.  
  70. gtext " Press any key to hear this example." 23 1 8 100
  71.  
  72. key
  73. clear blue.pcx spiral
  74. SHOW-PCX TITLE.PCX spiral
  75. PLAY WELCOME.VOC
  76. KEY
  77. clear TITLE.pcx spiral r
  78.  
  79. SHOW-PCX blue.PCX explode r
  80.  
  81. gtext "         QUICK & EASY TUTORIAL " 1 1 14 90
  82. gtext "         ~~~~~~~~~~~~~~~~~~~~~ " 2 1 14 90
  83.  
  84. gtext " Now let's add a SCREEN EFFECT to this " 5 1 8 95
  85. gtext " example." 6 1 8 95
  86.  
  87. gtext " COMMAND   DESCRIPTION " 8 1 8 95
  88. gtext " ═══════   ═══════════ " 9 1 8 95
  89. gtext " CLEAR     The CLEAR command is used" 10 1 8 95
  90. gtext "           to clear the screen with 20 " 11 1 8 95
  91. gtext "           screen effects (Sand, Split," 12 1 8 95
  92. gtext "           Crush, Slide, Fade, Spiral," 13 1 8 95
  93. gtext "           Diagonal and many more). " 14 1 8 95
  94.  
  95. gtext "           EXAMPLE " 16 1 8 170
  96. gtext "           ═══════ " 17 1 8 170
  97. gtext "           SHOW-PCX TITLE.PCX " 18 1 8 165
  98. gtext "           PLAY WELCOME.VOC " 19 1 8 165
  99. gtext "           KEY " 20 1 8 165
  100. gtext "           CLEAR TITLE.PCX FADE " 21 1 8 165
  101.  
  102. gtext " Press any key to view this example." 23 1 8 100
  103.  
  104. key
  105. clear blue.pcx explode
  106. SHOW-PCX TITLE.PCX explode r
  107. PLAY WELCOME.VOC
  108. KEY
  109. CLEAR TITLE.PCX FADE
  110.  
  111. SHOW-PCX yellow.PCX split slow
  112.  
  113. gtext "     THAT'S IT - With these basic" 1 1 14 200
  114. gtext "     commands you can create your" 2 1 14 200
  115. gtext "     talking slide show.  This" 3 1 14 200
  116. gtext "     is just a small example of " 4 1 14 200
  117. gtext "     the capabilities of this new" 5 1 14 200
  118. gtext "     and innovative package. " 6 1 14 200
  119.  
  120. gtext "     Please review the entire " 8 1 14 200
  121. gtext "     tutorial and read the User " 9 1 14 200
  122. gtext "     Manual to learn more about " 10 1 14 200
  123. gtext "     the Show Maker commands " 11 1 14 200
  124. gtext "     and how to use them. " 12 1 14 200
  125.  
  126. gtext "       Press any key to continue." 24 1 8 100
  127. KEY
  128.  
  129. SHOW-PCX blue.PCX explode r
  130.  
  131. gtext "             OTHER COMMANDS " 1 1 14 90
  132. gtext "             ~~~~~~~~~~~~~~ " 2 1 14 90
  133. gtext " COMMAND   DESCRIPTION " 5 1 8 95
  134. gtext " ═══════   ═══════════ " 6 1 8 95
  135. gtext " SHOW      The SHOW command is used" 7 1 8 95
  136. gtext "           to display PCX, GIF, PIC," 8 1 8 95
  137. gtext "           TIF and TGA graphic files." 9 1 8 95
  138.  
  139. gtext " GTEXT     The GTEXT command is used" 11 1 8 95
  140. gtext "           to display text on top of " 12 1 8 95
  141. gtext "           the graphic screen." 13 1 8 95
  142.  
  143. gtext " DELAY     Will wait for 1 second." 15 1 8 85
  144. gtext " DELAY 3   Will wait for 3 second." 16 1 8 85
  145. gtext " DELAY 9   300 seconds is the maximum." 17 1 8 85
  146.  
  147. gtext "           The DELAY command will stop" 19 1 8 90
  148. gtext "           when the user presses any" 20 1 8 90
  149. gtext "           key. Use this for a self" 21 1 8 90
  150. gtext "           running demo or tutorial." 22 1 8 90
  151.  
  152. gtext "       Press any key to continue." 24 1 8 100
  153. key
  154.  
  155. SHOW-PCX BLUE.PCX WEAVE
  156.  
  157. gtext "             GTEXT COMMAND " 1 1 14 90
  158. gtext "             ~~~~~~~~~~~~~ " 2 1 14 90
  159.  
  160. gtext "     How to use the GTEXT command: " 5 1 8 95
  161. gtext "                   ┌────Row" 7 1 8 90
  162. gtext "                   │  ┌───Column" 8 1 8 95
  163. gtext "                   │  │  ┌──Size" 9 1 8 100
  164. gtext "                   │  │  │ ┌──Color" 10 1 8 105
  165. gtext "                   │  │  │ │  ┌─Bcolor" 11 1 8 110
  166. gtext "                   │  │  │ │  │" 12 1 8 110
  167. gtext "GTEXT ``YOUR TEXT''12 21 8 80 260" 13 1 8 210 130
  168.  
  169. gtext "   ROW = 0 to 24 for 8 point size." 15 1 8 90
  170. gtext "         0 to 12 for 16 point size." 16 1 8 90
  171. gtext "COLUMN = 0 to 40 for VGA mode." 17 1 8 95
  172. gtext "  SIZE = 8 or 14 or 16 point size." 18 1 8 100
  173. gtext " COLOR = 0 to 255 for VGA mode." 19 1 8 105
  174. gtext "BCOLOR = Background color, 0 to 255" 20 1 8 110
  175. gtext "         for VGA mode, if Bcolor > 255" 21 1 8 110
  176. gtext "         then transparent background." 22 1 8 110
  177.  
  178. gtext "       Press any key to continue." 24 1 8 100
  179. key
  180. clear blue.pcx
  181. show-pcx BLACK.pcx explode r
  182.  
  183.    GTEXT " Let's look at some text colors." 0 4 8 170 260
  184.    GTEXT "███████████████ Text Color =  10 " 1 4 8 10 250
  185.    GTEXT "███████████████ Text Color =  30 " 2 4 8 30 250
  186.    GTEXT "███████████████ Text Color =  40 " 3 4 8 40 250
  187.    GTEXT "███████████████ Text Color =  50 " 4 4 8 50 250
  188.    GTEXT "███████████████ Text Color =  60 " 5 4 8 60 250
  189.    GTEXT "███████████████ Text Color =  70 " 6 4 8 70 250
  190.    GTEXT "███████████████ Text Color =  80 " 7 4 8 80 250
  191.    GTEXT "███████████████ Text Color =  90 " 8 4 8 90 250
  192.    GTEXT "███████████████ Text Color = 100 " 9 4 8 100 250
  193.    GTEXT "███████████████ Text Color = 110 " 10 4 8 110 250
  194.    GTEXT "███████████████ Text Color = 120 " 11 4 8 120 250
  195.    GTEXT "███████████████ Text Color = 130 " 12 4 8 130 250
  196.    GTEXT "███████████████ Text Color = 140 " 13 4 8 140 250
  197.    GTEXT "███████████████ Text Color = 150 " 14 4 8 150 250
  198.    GTEXT "███████████████ Text Color = 160 " 15 4 8 160 250
  199.    GTEXT "███████████████ Text Color = 170 " 16 4 8 170 250
  200.    GTEXT "███████████████ Text Color = 180 " 17 4 8 180 250
  201.    GTEXT "███████████████ Text Color = 190 " 18 4 8 190 250
  202.    GTEXT "███████████████ Text Color = 200 " 19 4 8 200 250
  203.    GTEXT "███████████████ Text Color = 210 " 20 4 8 210 250
  204.    GTEXT "███████████████ Text Color = 220 " 21 4 8 220 250
  205.    GTEXT "███████████████ Text Color = 230 " 22 4 8 230 250
  206.    GTEXT "███████████████ Text Color = 240 " 23 4 8 240 250
  207. gtext "       Press any key to continue." 24 1 8 170
  208. key
  209. clear red.pcx crush r
  210.  
  211.  
  212. :MENU5
  213. SHOW-PCX blue.PCX split
  214.  
  215. gtext "        KEY & CONTROL TUTORIAL " 1 1 14 90
  216. gtext "        ~~~~~~~~~~~~~~~~~~~~~~ " 2 1 14 90
  217.  
  218. gtext "    You can control the flow of your" 5 1 8 95
  219. gtext "    creation. Yon can also interact" 6 1 8 95
  220. gtext "    with the user of your creation." 7 1 8 95
  221.  
  222. gtext " COMMAND  DESCRIPTION " 9 1 8 95
  223. gtext " ═══════  ═══════════ " 10 1 8 95
  224. gtext " KEY      The KEY command will wait for" 11 1 8 95
  225. gtext "          the user to press any key." 12 1 8 95
  226.  
  227. gtext " KEY YN   Will wait for the user to " 14 1 8 95
  228. gtext "          answer a question or enter" 15 1 8 95
  229. gtext " KEY 123  a menu selection. KEY will" 16 1 8 95
  230. gtext "          allow up to 40 characters." 17 1 8 95
  231. gtext " KEY 123Q This command will allow" 18 1 8 95
  232. gtext "          you to interact with the" 19 1 8 95
  233. gtext "          user and go to specific " 20 1 8 95
  234. gtext "          screens in your creation." 21 1 8 95
  235. gtext "          The IF and GOTO commands" 22 1 8 95
  236. gtext "          are used with this command." 23 1 8 95
  237.  
  238. gtext "       Press any key to continue." 24 1 8 150
  239. key
  240.  
  241. SHOW-PCX BLUE.PCX SLIDE
  242.  
  243. gtext "            CONTROL COMMANDS " 1 1 14 90
  244. gtext "            ~~~~~~~~~~~~~~~~ " 2 1 14 90
  245.  
  246. gtext " COMMAND   DESCRIPTION " 6 1 8 95
  247. gtext " ═══════   ═══════════ " 7 1 8 95
  248. gtext " IF        Will check the response" 8 1 8 90
  249. gtext "           from the KEY command." 9 1 8 90
  250.  
  251. gtext " GOTO      Will jump to a specific" 11 1 8 95
  252. gtext "           point in the program." 12 1 8 95
  253. gtext "           Use this to control the" 13 1 8 95
  254. gtext "           flow of your program." 14 1 8 95
  255.  
  256. gtext " CLEANUP   This should be the last" 16 1 8 100
  257. gtext "           command in your batch" 17 1 8 100
  258. gtext "           file. This will CLEANUP" 18 1 8 100
  259. gtext "           memory, display and temp" 19 1 8 100
  260. gtext "           disk space." 20 1 8 100
  261. gtext "* REQUIRED *" 20 24 8 190
  262. gtext "  ════════" 21 24 8 200
  263. gtext " Read the USERS MANUAL for more info.." 22 1 8 110
  264. gtext "       Press any key to continue." 24 1 8 150
  265. key
  266. clear blue.pcx
  267. CALL EXAMPLE4.BAT